package com.juc.nonBlockingQueue.nonBblockingQueue5;

public class Test5 {

	public static void main(String[] args) throws InterruptedException {
		MyService5 service = new MyService5();
		Thread5A a = new Thread5A(service);
		a.start();
		Thread.sleep(1000);
		Thread5B b = new Thread5B(service);
		b.start();
		//成功但不支持排序
		//LinkedHashMap 虽然能支持排序 但不支持并发
	}
}
